package com.wnxy.portal.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author Jet
 * @since 2023-12-11
 */
@Getter
@Setter
@TableName("t_book")
@ApiModel(value = "Book对象", description = "")
public class Book implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String name;

    private Integer typeId;

    private String provider;

    private String author;

    private BigDecimal price;

    private String detail;

    private String imgsrc;

    private Integer collectioncount;

    private Integer storecount;

    private Integer buycount;

    @ApiModelProperty("点击量")
    private Integer readcount;

    private Date createtime;

    private Date updatetime;

    private Integer state;

    private Integer version;


}
